import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'toadyPage.dart';

class heroPage extends StatelessWidget{
  String tag;
  heroPage({Key key,this.tag}):super(key:key);
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      backgroundColor: Colors.white,
      body: Container(
        child: Hero(
          transitionOnUserGestures: true,
        tag: tag,
        child:Image.asset("images/ban1.png"),
      
      ),
      ),
    );
  }
}

